package com.example.springbootdemo.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 *@author xuwangqi
 *@date 2021/5/24 15:58
 **/
@ApiModel(value="com-example-springbootdemo-scene-entity-SceneBoard")
@Data
@TableName(value = "scene_board")
public class SceneBoard {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 景区id
     */
    @TableField(value = "scene_id")
    @ApiModelProperty(value="景区id")
    private String sceneId;

    /**
     * 景点id
     */
    @TableField(value = "spot_id")
    @ApiModelProperty(value="景点id")
    private String spotId;

    /**
     * 景点名称
     */
    @TableField(value = "spot_name")
    @ApiModelProperty(value="景点名称")
    private String spotName;

    /**
     * 会员id
     */
    @TableField(value = "member_id")
    @ApiModelProperty(value="会员id")
    private Long memberId;

    /**
     * 会员昵称
     */
    @TableField(value = "nickname")
    @ApiModelProperty(value="会员昵称")
    private String nickname;

    /**
     * 头像
     */
    @TableField(value = "member_avatar")
    @ApiModelProperty(value="头像")
    private String memberAvatar;

    /**
     * 地理位置信息
     */
    @TableField(value = "poi")
    @ApiModelProperty(value="地理位置信息")
    private String poi;

    /**
     * 失败原因
     */
    @TableField(value = "fail_reason")
    @ApiModelProperty(value="失败原因")
    private String failReason;

    /**
     * 留言的内容
     */
    @TableField(value = "text")
    @ApiModelProperty(value="留言的内容")
    private String text;

    /**
     * 0审核中 1正常 2审核失败
     */
    @TableField(value = "status")
    @ApiModelProperty(value="0审核中 1正常 2审核失败")
    private Byte status;

    @TableField(value = "gmt_create")
    @ApiModelProperty(value="")
    private Date gmtCreate;

    @TableField(value = "gmt_modified")
    @ApiModelProperty(value="")
    private Date gmtModified;

    /**
     * 是否删除，1被删除，0未删除
     */
    @TableField(value = "is_delete")
    @ApiModelProperty(value="是否删除，1被删除，0未删除")
    private Byte isDelete;

    public static final String COL_ID = "id";

    public static final String COL_SCENE_ID = "scene_id";

    public static final String COL_SPOT_ID = "spot_id";

    public static final String COL_SPOT_NAME = "spot_name";

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_NICKNAME = "nickname";

    public static final String COL_MEMBER_AVATAR = "member_avatar";

    public static final String COL_POI = "poi";

    public static final String COL_FAIL_REASON = "fail_reason";

    public static final String COL_TEXT = "text";

    public static final String COL_STATUS = "status";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";

    public static final String COL_IS_DELETE = "is_delete";
}